package demo1;

public class Test2 {

    private int year = 100;
    private static int age = 100;
    public Test2(int y) {
        this.year = y;

    }

    public int getYear() {
        return year;
    }

     void fun() {
        System.out.println("fun Fulei");
    }
}
